package cn.com.w.bootfreemarker.aspect;


import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.After;
import org.aspectj.lang.annotation.Aspect;
import org.springframework.stereotype.Component;

import java.io.IOException;

@Component
@Aspect
public class CreateReportAspect {


    /**
     * 当报告信息表插入数据，则立马启动此方法去生成相应的核查报告
     *
     * @param joinPoint
     * @throws IOException
     */
    @After("execution(* cn.com.w.bootfreemarker.service.impl.FmUserServiceImpl.save(..) )")
    public void afterInsertExecute(JoinPoint joinPoint) {

    }
}
